{extend name="header_admin" /}
{block name="title"}基础设置- {$options.siteName}{/block}
{block name="content"}
<div class="content-wrapper">
  <div class="container-fluid">
    <!-- Breadcrumbs-->
    <ol class="breadcrumb">
      <li class="breadcrumb-item">
        <a href="/Admin">管理面板</a>
      </li>
      <li class="breadcrumb-item active">设备激活</li>
    </ol>
    <!-- Area Chart Example-->
    <div class="row">
        <div class="col-12">
          <h2>基础设置</h2>
          <br>
          <form id="basicOptionsForm">
            <div class="row form-setting">
              <div class="col-md-1 form-label ">
                <label for="colFormLabelSm" class="col-form-label col-form-label-sm">请输入机器码</label>
              </div>
              <div class="col-md-4"> <textarea class="form-control" name="key" rows="4" spellcheck="false"></textarea></div>
              <div class="col-md-4 option-des"> 请输入设备激活页面提示的激活码 </div>
            </div>
            <div class="row form-setting">
                <div class="col-md-1 form-label ">
                  <label for="colFormLabelSm" class="col-form-label col-form-label-sm">激活码</label>
                </div>
                <div class="col-md-4"> <textarea class="form-control" id="active_code" name="active_code" rows="4" spellcheck="false"></textarea></div>
                <div class="col-md-4 option-des"> 请复制激活码，用于激活 </div>
            </div>
            <div class="row form-setting">
              <div class="col-md-1 form-label ">
              </div>
              <div class="col-md-4"> <button type="button" class="btn btn-primary" id="active">获取激活码</button></div>
              <div class="col-md-4 option-des"> </div>
              <br> <br>
            </div>
          </form>
        </div>
      </div>
    </div>
    
    <!-- Example DataTables Card-->
  </div>
  <!-- /.container-fluid-->
</div>
{/block}
{block name="js"}
<script src="/static/js/admin/active.js"></script>
<script type="text/javascript">
</script>
{/block}